﻿using System;

namespace T.FAS.Runtime.Base.Entity
{
    [Serializable]
    public class FASAuthResult
    {
        public string ID { get; set; }
        public string UserID { get; set; }
        public string UserName { get; set; }
        public string SubSystemID { get; set; }
        public string SubSystemCode { get; set; }
        public string ModuleID { get; set; }
        public string ModuleCode { get; set; }
        public AuthBusinessType BusinessType { get;set;}
        public string Creator { get; set; }
        public DateTime CreateTime { get; set; }
        public string LastModifier { get; set; }
        public DateTime LastModifyTime { get; set; }
    }

    public enum AuthBusinessType
    {
        None = 0,
        Portal = 1,
        QueryPlan = 2,
    }
}
